<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@page import="ema.tpjee.banking.model.Customer" %>
    <jsp:useBean id="clients" class="java.util.ArrayList" scope="session"/>
    
    
    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Liste des clients</title>
</head>
<body>
<h1>Liste des clients</h1>

<table border="1">
<tr><th>id</th><th>nom</th><th>??</th></tr>
<tr><td><%=((Customer)clients.get(0)).getId()%></td><td><%=((Customer)clients.get(0)).getName()%></td><td></td></tr>
<tr><td><%=((Customer)clients.get(1)).getId()%></td><td><%=((Customer)clients.get(1)).getName()%></td><td></td></tr>

</table>


</body>
</html>